package org.ricks.log;

/**
 * @author chenwei
 * @Title:
 * @Package
 * @Description:
 * @date 2021/1/2918:17
 */
public final class NopFileConverter implements FileConverter {

    /** */
    public NopFileConverter() {
    }

    @Override
    public String getBackupSuffix() {
        return null;
    }

    @Override
    public void open(final String fileName) {
        // Ignore
    }

    @Override
    public byte[] write(final byte[] data) {
        return data;
    }

    @Override
    public void close() {
        // Ignore
    }

    @Override
    public void shutdown() {
        // Ignore
    }

}
